btez2 2.2.0
Loading...
Searching...
No Matches
btez2_rsp_evt_packet_t Struct Reference

BT-EZ 2 Click response/event packet object. More...

#include <btez2.h>

Data Fields

uint8_t rsp_flag
uint8_t command_type
uint8_t command [BTEZ2_CMD_CODE_BUFFER_SIZE]
uint16_t rsp_result
uint8_t payload [BTEZ2_PAYLOAD_BUFFER_SIZE]

Detailed Description

BT-EZ 2 Click response/event packet object.

Response/event packet object definition of BT-EZ 2 Click driver.

Field Documentation

◆ command

uint8_t command[BTEZ2_CMD_CODE_BUFFER_SIZE]

Command code string.

◆ command_type

uint8_t command_type

Command response type (BTEZ2_PACKET_CMD_x).

◆ payload

uint8_t payload[BTEZ2_PAYLOAD_BUFFER_SIZE]

Packet payload string (optional).

◆ rsp_flag

uint8_t rsp_flag

Response/Event flag (1-response, 0-event).

◆ rsp_result

uint16_t rsp_result

Response result word (0-OK).


The documentation for this struct was generated from the following file: